package com.spica.platform.base.encrypt.encryptbody.exception;

import com.spica.platform.base.exception.instance.AbstractBaseException;

/**
 * <p>非法的安全类型</p>
 */
public class IllegalSecurityTypeException extends AbstractBaseException {

    public IllegalSecurityTypeException() {
        super(IllegalSecurityTypeRtnCodEnum.ENHANCE_ILLEGAL_SECURITY_ERROR);
    }

    public IllegalSecurityTypeException(String message) {
        super(IllegalSecurityTypeRtnCodEnum.UN_KNOWN_ILLEGAL_SECURITY_ERROR.getRtnCode(), message);
    }
}